package yf.mall.dao;

import com.yf.dao.BaseDao;
import yf.mall.entity.MallSkuThemeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 产品SKU标签Dao
 *
 *
 *
 * @date Thu Aug 08 17:38:32 CST 2019
 */
@Mapper
public interface MallSkuThemeDao extends BaseDao<MallSkuThemeEntity> {

    int saveList(@Param("list") List<MallSkuThemeEntity> list, @Param("goodsId") Long goodsId);

    List<MallSkuThemeEntity> queryListByGoodsId(Long goodsId);

    int deleteByGoodsId(Long goodsId);
}
